package com.helloworld.pojo;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	// Fields

	private Integer deptId;
	private String deptName;
	private String deptNo;
	private String deptManager;
	private Integer parentId;
	private Integer createrId;
	private String deptAddress;
	private String deptNote;

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** full constructor */
	public Department(String deptName, String deptNo, String deptManager,
			Integer parentId, Integer createrId, String deptAddress,
			String deptNote) {
		this.deptName = deptName;
		this.deptNo = deptNo;
		this.deptManager = deptManager;
		this.parentId = parentId;
		this.createrId = createrId;
		this.deptAddress = deptAddress;
		this.deptNote = deptNote;
	}

	// Property accessors

	public Integer getDeptId() {
		return this.deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return this.deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptNo() {
		return this.deptNo;
	}

	public void setDeptNo(String deptNo) {
		this.deptNo = deptNo;
	}

	public String getDeptManager() {
		return this.deptManager;
	}

	public void setDeptManager(String deptManager) {
		this.deptManager = deptManager;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getCreaterId() {
		return this.createrId;
	}

	public void setCreaterId(Integer createrId) {
		this.createrId = createrId;
	}

	public String getDeptAddress() {
		return this.deptAddress;
	}

	public void setDeptAddress(String deptAddress) {
		this.deptAddress = deptAddress;
	}

	public String getDeptNote() {
		return this.deptNote;
	}

	public void setDeptNote(String deptNote) {
		this.deptNote = deptNote;
	}

}